package ru.ifmo.network.skype.audio;

import javax.sound.sampled.AudioFormat;

/**
 * @author avhaliullin
 */
public class Config {
    private final AudioFormat audioFormat;
    private final int bufferSize;
    private final int udpPort;
    private final int tcpPort;

    public Config(AudioFormat audioFormat, int bufferSize, int udpPort, int tcpPort) {
        this.audioFormat = audioFormat;
        this.bufferSize = bufferSize;
        this.udpPort = udpPort;
        this.tcpPort = tcpPort;
    }

    public AudioFormat getAudioFormat() {
        return audioFormat;
    }

    public int getBufferSize() {
        return bufferSize;
    }

    public int getUdpPort() {
        return udpPort;
    }

    public int getTcpPort() {
        return tcpPort;
    }
}
